//
//  CommunityListInfo.h
//  QRMaster
//
//  Created by myApple on 15/12/23.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CommunityListInfo : NSObject
typedef void(^communityDataBlock)(NSString * communityName);
/**
 *  插入集群的基本信息
 *
 *  @param communityId   集群的ID号
 *  @param communityName 集群的名称
 *  @param areaCode      集群的区号
 */
-(void)insertCommunityListInfo:(NSString *)communityId
             withCommunityName:(NSString *)communityName
         withCommunityAreaCode:(NSString *)areaCode;


/**
 *  删除集群列表
 *
 *  @param communityId 集群ID号
 */
-(void)deleteCommunityListInfo:(NSString *)communityId;

/**
 *  删除集群列表
 *
 *  @param communityName 集群名
 */
-(void)queryCommunityName:(NSString *)communityId block:(communityDataBlock)communityName;


/**
 *  查询集群列表的所有信息
 */
-(void)queryAllCommunityInfoBlock:(void(^)(NSMutableArray * communityListInfoArray))block;

@end
